Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ExtractTopFunc] Use arith::ConstantOp rather than mlir::ConstantOp #45

Merged
merged 1 commit into from
Oct 29, 2021
Merged

[ExtractTopFunc] Use arith::ConstantOp rather than mlir::ConstantOp #45

merged 1 commit into from
Oct 29, 2021

Conversation

hanchenye
Copy link
Contributor

In the current polygeist (daeb952) MLIR, real constants are represented with arith::ConstantOp. Therefore, the upstream tool, mlir-clang, generates arith.constant rather than constant. This patch is intended to accommodate this change.

@kumasento kumasento self-requested a review October 29, 2021 17:45
@kumasento kumasento enabled auto-merge (rebase) October 29, 2021 17:45
@kumasento kumasento merged commit c278d46 into kumasento:main Oct 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants